<template>
  <h1>el选择器</h1>
  <el-select v-model="address" placeholder="地址" style="width: 50%">
    <el-option value="1" label="北京"></el-option>
    <el-option value="2" label="上海"></el-option>
    <el-option value="3" label="四川"></el-option>
    <el-option value="4" label="武汉"></el-option>

  </el-select>
</template>

<script setup>
import {ref} from "vue";

const address=ref('');

</script>

<style scoped>

</style>